[bug](cloud restore) Fix load failed after table restore#60212
Merged
xy720 merged 1 commit intoapache:masterfrom Jan 26, 2026
Merged
[bug](cloud restore) Fix load failed after table restore#60212xy720 merged 1 commit intoapache:masterfrom
xy720 merged 1 commit intoapache:masterfrom
Conversation
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Member
Author
|
run buildall |
16 tasks
TPC-H: Total hot run time: 30997 ms |
TPC-DS: Total hot run time: 171357 ms |
ClickBench: Total hot run time: 26.89 s |
Contributor
FE UT Coverage ReportIncrement line coverage |
Contributor
FE Regression Coverage ReportIncrement line coverage |
gavinchou
approved these changes
Jan 25, 2026
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
github-actions bot
pushed a commit
that referenced
this pull request
Jan 26, 2026
### What problem does this PR solve? How to reproduce: 1、create a table with 3 replica and backup it to repo ``` CREATE TABLE `test_tbl_3_replica` ( `companyId` bigint NULL, `jobId` bigint NULL, `province` text NULL, `vCallerId` bigint NULL DEFAULT "0", `aCallerId` bigint NULL DEFAULT "-1" ) ENGINE=OLAP DUPLICATE KEY(`companyId`) DISTRIBUTED BY HASH(`companyId`) BUCKETS 8 PROPERTIES ( "replication_allocation" = "tag.location.default: 3" ); ``` 2、set `reserve_replica = true` in restore command. ``` RESTORE SNAPSHOT test.`snapshot_label` FROM `test_repo` PROPERTIES ( "backup_timestamp" = "2026-01-23-16-20-57", "reserve_replica" = "true"); ``` 3、after restore finished, insert into the restored table. ``` mysql> insert into test_tbl_3_replica values(100,100,'广东',3,3); Error1105:errCode=2, detailMessage = tablet 1768908267608 alive replicanum 1 < load required replicanum 2, alivebackends: [1768462881465] ```
yiguolei
pushed a commit
that referenced
this pull request
Jan 26, 2026
ybtsdst
pushed a commit
to ybtsdst/doris
that referenced
this pull request
Feb 27, 2026
…pache#60212 (apache#60233) Cherry-picked from apache#60212 Co-authored-by: xy720 <22125576+xy720@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
How to reproduce:
1、create a table with 3 replica and backup it to repo
2、set
reserve_replica = truein restore command.3、after restore finished, insert into the restored table.
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)